@font-face {
  font-family: "font";
  src: url("../font/font.woff");
}

@mixin linear-bg($color) {
  background-image: linear-gradient(
    to right,
    $color,
    $color 80%,
    fade($color, 0) 100%
  );
}

* {
  margin: 0;
  padding: 0;
  font-family: "font";
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
}

body {
  font-size: 18px;
  color: #1e1f20;
  transform-origin: 0 0;
  width: 520px;
}

.container {
  width: 520px;
  padding: 10px 0;
  background: #1e1f20;
}

.cont {
  border-radius: 10px;
  background: url("./imgs/card-bg.png") top left repeat-x;
  background-size: auto 100%;
  margin: 15px 0px;
  position: relative;
  box-shadow: 0 0 1px 0 #ccc, 2px 2px 4px 0 rgba(50, 50, 50, 0.8);
  overflow: hidden;
  color: #fff;
  font-size: 16px;

  .cont-title {
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 1px 0 #fff;
    color: #d3bc8e;
    padding: 10px 20px;
    text-align: left;
    border-radius: 10px 10px 0 0;
  }

  .cont-body {
    padding: 10px 15px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 1px 0 #fff;
    font-weight: normal;
  }
}

.log-cont {
  background-size: cover;
  margin: 5px 15px;
  border-radius: 10px;

  .cont-title {
    font-size: 16px;
    padding: 10px 20px 6px;

    &.current-version {
      font-size: 20px;
    }
  }

  ul {
    font-size: 14px;
    padding-left: 20px;

    li {
      margin: 3px 0;
    }

    &.sub-log-ul {
      li {
        margin: 1px 0;
      }
    }
  }

  .cmd {
    color: #d3bc8e;
    display: inline-block;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.5);
    padding: 0 3px;
    margin: 1px 2px;
  }

  .strong {
    color: #24d5cd;
  }

  .new {
    display: inline-block;
    width: 18px;
    margin: 0 -3px 0 1px;
  }

  .new::before {
    content: "NEW";
    display: inline-block;
    transform: scale(0.6);
    transform-origin: 0 0;
    color: #d3bc8e;
    white-space: nowrap;
  }
}

.copyright {
  font-size: 14px;
  text-align: center;
  color: #fff;
  position: relative;
  padding-left: 10px;
  text-shadow: 1px 1px 1px #000;
  margin: 10px 0;

  .version {
    color: #d3bc8e;
    display: inline-block;
    padding: 0 3px;
  }
}
